package cn.mall.biz.service;

import lombok.extern.slf4j.Slf4j;
import cn.mall.biz.service.bean.DemoBusinessRequestEntity;
import cn.mall.biz.service.bean.DemoBusinessResponseEntity;
import cn.mall.framework.biz.PublicBusinessSystemServiceAsync;
import cn.mall.framework.biz.bean.BusinessException;
import cn.mall.framework.common.BusinessContext;

@Slf4j
public class DemoBusinessSerivce extends PublicBusinessSystemServiceAsync<DemoBusinessRequestEntity, DemoBusinessResponseEntity>{

	@Override
	public void processRequest(
			BusinessContext<DemoBusinessRequestEntity, DemoBusinessResponseEntity> context)
			throws BusinessException {
		log.info("服务调用成功了...");
		sendSuccess(context);
	}

}
